Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure IPv6 only when VPN is up and fix default route for IPv6 #124

Open
wants to merge 4 commits into
base: testing
Choose a base branch
from

Conversation

hidrarga
Copy link
Contributor

@hidrarga hidrarga commented Apr 28, 2024

Problem

The IPv6 delegated prefix is meant to be used with the VPN client, but the IPv6 address is always configured, even when there is no VPN active.

I also noticed the default route for IPv6 is removed when IPv6 forwarding is enabled.

Solution

I'm configuring the IPv6 in the scripts for the VPN. This way, when the VPN is up, the IPv6 address is added to the wifi interface. Also, when the hotspot is starting, it checks if the VPN is already up before adding the IPv6.

I'm adding back the default route after enabling IPv6 forwarding.

PR Status

  • Code finished and ready to be reviewed/tested
  • The fix/enhancement were manually tested (if applicable)

Automatic tests

Automatic tests can be triggered on https://ci-apps-dev.yunohost.org/ after creating the PR, by commenting "!testme", "!gogogadgetoci" or "By the power of systemd, I invoke The Great App CI to test this Pull Request!". (N.B. : for this to work you need to be a member of the Yunohost-Apps organization)

@hidrarga hidrarga changed the base branch from master to testing April 28, 2024 12:07
@hidrarga
Copy link
Contributor Author

!testme

@yunohost-bot
Copy link
Contributor

✌️
Test Badge

@yunohost-bot
Copy link
Contributor

🪱
Test Badge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants